/** 
 * File Name：MyBean.java 
 * 
 * Copyright Defonds Corporation 2015  
 * All Rights Reserved 
 * 
 */  
package com.guonl.scheduler.jobs;  
  
import org.springframework.stereotype.Component;  
  
/** 
 *  
 * Project Name：spring-quartz 
 * Type Name：MyBean 
 * Type Description： 
 * Author：Defonds 
 * Create Date：2015-10-29 
 * @version  
 *  
 */  
@Component("myBean")  
public class MyBean {  
   
    public void printMessage() {  
        System.out.println("I am MyBean. I am called by MethodInvokingJobDetailFactoryBean using SimpleTriggerFactoryBean");  
    }  
       
}  